package cn.com.util;

public class NullJudge {
	/**
	 * �ж������Ƿ�ȫ��Ϊ�գ���
	 * 
	 * @param s
	 * @return
	 */
	public static boolean judgeSZ(String[] s) {
		int j = 0;
		if (s.length > 0) {
			for (int i = 0; i < s.length; i++) {
				if (s[i] == null || s[i].equals("")) {
					j += 1;
				}
			}
		} else {
			j += 1;
		}

		if (j <= 0) {
			return true;
		} else {
			return false;
		}
	}
}
